[INFO] cloning repository https://github.com/dobrite/dood-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dobrite/dood-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrite%2Fdood-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrite%2Fdood-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc82ed45a59ade3529ebf7bdea9fddcbcce85059
[INFO] testing dobrite/dood-rs against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrite%2Fdood-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dobrite/dood-rs on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dobrite/dood-rs
[INFO] finished tweaking git repo https://github.com/dobrite/dood-rs
[INFO] tweaked toml for git repo https://github.com/dobrite/dood-rs written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/dobrite/dood-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 00552b02ed8cc7028c5f5815bb2ab888a3801d3aab403f1beb8c23967cd1ab59
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "00552b02ed8cc7028c5f5815bb2ab888a3801d3aab403f1beb8c23967cd1ab59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "00552b02ed8cc7028c5f5815bb2ab888a3801d3aab403f1beb8c23967cd1ab59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00552b02ed8cc7028c5f5815bb2ab888a3801d3aab403f1beb8c23967cd1ab59", kill_on_drop: false }`
[INFO] [stdout] 00552b02ed8cc7028c5f5815bb2ab888a3801d3aab403f1beb8c23967cd1ab59
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 69a59d4c44f1cfcc83c4db60a00bd7e8e9b87c9e9bd4ec300cca18f9e06122b0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "69a59d4c44f1cfcc83c4db60a00bd7e8e9b87c9e9bd4ec300cca18f9e06122b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling bytemuck v1.5.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling spin_sleep v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling clock_ticks v0.1.1
[INFO] [stderr]    Compiling snowflake v1.3.0
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling quaternion v0.4.1
[INFO] [stderr]    Compiling gif v0.11.2
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling piston2d-graphics v0.40.0
[INFO] [stderr]    Compiling piston3d-cam v0.4.0
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling wayland-scanner v0.28.5
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling wayland-sys v0.28.5
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling hprof v0.1.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling wayland-client v0.28.5
[INFO] [stderr]    Compiling wayland-protocols v0.28.5
[INFO] [stderr]    Compiling xcursor v0.3.3
[INFO] [stderr]    Compiling nix v0.20.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling wayland-commons v0.28.5
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling wayland-cursor v0.28.5
[INFO] [stderr]    Compiling wayland-egl v0.28.5
[INFO] [stderr]    Compiling pistoncore-input v1.0.0
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.73.0
[INFO] [stderr]    Compiling pistoncore-window v0.47.0
[INFO] [stderr]    Compiling piston-ai_behavior v0.32.0
[INFO] [stderr]    Compiling camera_controllers v0.32.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.53.0
[INFO] [stderr]    Compiling piston v0.53.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling winit v0.24.0
[INFO] [stderr]    Compiling glutin v0.26.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.69.0
[INFO] [stderr]    Compiling piston_window v0.120.0
[INFO] [stderr]    Compiling dood-rs v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: no rules expected the token `flags`
[INFO] [stdout]  --> src/render/flags.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     flags Flags: u32 {
[INFO] [stdout]   |     ^^^^^ no rules expected this token in macro call
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Action` is defined multiple times
[INFO] [stdout]   --> src/brain.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | use ai_behavior::{Success, Running, Failure, Action, If, Sequence, WaitForever, While, State};
[INFO] [stdout]    |                                              ------ previous import of the type `Action` here
[INFO] [stdout] ...
[INFO] [stdout] 16 | use action::Action;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ `Action` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Action` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 16 | use action::Action as OtherAction;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]   --> src/brain.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 |         use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `extra` in `gfx`
[INFO] [stdout]   --> src/main.rs:50:10
[INFO] [stdout]    |
[INFO] [stdout] 50 | use gfx::extra::stream::Stream;
[INFO] [stdout]    |          ^^^^^ could not find `extra` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `render` in `gfx`
[INFO] [stdout]   --> src/main.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | use gfx::render::mesh::ToIndexSlice;
[INFO] [stdout]    |          ^^^^^^ could not find `render` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `extra` in `gfx`
[INFO] [stdout]   --> src/main.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | use gfx::extra::factory::FactoryExt;
[INFO] [stdout]    |          ^^^^^ could not find `extra` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `gfx::device`
[INFO] [stdout]   --> src/main.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | use gfx::device::Factory;
[INFO] [stdout]    |          ^^^^^^ could not find `device` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `gfx::PrimitiveType`
[INFO] [stdout]   --> src/main.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | use gfx::PrimitiveType::TriangleList;
[INFO] [stdout]    |          ^^^^^^^^^^^^^ could not find `PrimitiveType` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `gfx::PrimitiveType`
[INFO] [stdout]   --> src/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | use gfx::PrimitiveType;
[INFO] [stdout]    |     ^^^^^-------------
[INFO] [stdout]    |     |    |
[INFO] [stdout]    |     |    help: a similar name exists in the module: `Primitive`
[INFO] [stdout]    |     no `PrimitiveType` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `super::flags::IN_FOV`, `super::flags::TRANSPARENT`, `super::flags::Flags`
[INFO] [stdout]   --> src/render/fov.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 | use super::flags::{IN_FOV, TRANSPARENT, Flags};
[INFO] [stdout]    |                    ^^^^^^  ^^^^^^^^^^^  ^^^^^ no `Flags` in `render::flags`
[INFO] [stdout]    |                    |       |
[INFO] [stdout]    |                    |       no `TRANSPARENT` in `render::flags`
[INFO] [stdout]    |                    no `IN_FOV` in `render::flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `super::flags::Flags`, `super::flags::HAS_ENTITY`, `super::flags::IN_FOV`, `super::flags::TRANSPARENT`, `super::flags::PASSABLE`
[INFO] [stdout]  --> src/render/scratch.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::flags::{Flags, HAS_ENTITY, IN_FOV, TRANSPARENT, PASSABLE};
[INFO] [stdout]   |                    ^^^^^  ^^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^  ^^^^^^^^ no `PASSABLE` in `render::flags`
[INFO] [stdout]   |                    |      |           |       |
[INFO] [stdout]   |                    |      |           |       no `TRANSPARENT` in `render::flags`
[INFO] [stdout]   |                    |      |           no `IN_FOV` in `render::flags`
[INFO] [stdout]   |                    |      no `HAS_ENTITY` in `render::flags`
[INFO] [stdout]   |                    no `Flags` in `render::flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `render::Vertex`
[INFO] [stdout]  --> src/cascadecs/render_component.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use render::Vertex;
[INFO] [stdout]   |     ^^^^^^^^------
[INFO] [stdout]   |     |       |
[INFO] [stdout]   |     |       help: a similar name exists in the module (notice the capitalization): `vertex`
[INFO] [stdout]   |     no `Vertex` in `render`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::vertex::Vertex`
[INFO] [stdout]  --> src/render/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use self::vertex::Vertex;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^ no `Vertex` in `render::vertex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::vertex::Vertex`
[INFO] [stdout]  --> src/render/scratch.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::vertex::Vertex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ no `Vertex` in `render::vertex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `gfx_vertex` in this scope
[INFO] [stdout]  --> src/render/vertex.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | gfx_vertex!(Vertex {
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `gfx_parameters` in this scope
[INFO] [stdout]   --> src/main.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | gfx_parameters!(Params {
[INFO] [stdout]    | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Action` is a variant, not a module
[INFO] [stdout]   --> src/brain.rs:30:54
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 let find_food = Sequence(vec![Action(Action::PathTo { path_target: path_target }), Action(Action::EatFood)]);
[INFO] [stdout]    |                                                      ^^^^^^ `Action` is a variant, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Action` is a variant, not a module
[INFO] [stdout]   --> src/brain.rs:30:107
[INFO] [stdout]    |
[INFO] [stdout] 30 |                 let find_food = Sequence(vec![Action(Action::PathTo { path_target: path_target }), Action(Action::EatFood)]);
[INFO] [stdout]    |                                                                                                           ^^^^^^ `Action` is a variant, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Action` is a variant, not a module
[INFO] [stdout]   --> src/brain.rs:31:56
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 let dood_behavior = If(Box::new(Action(Action::Content)),
[INFO] [stdout]    |                                                        ^^^^^^ `Action` is a variant, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Action` is a variant, not a module
[INFO] [stdout]   --> src/brain.rs:32:56
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   Box::new(Action(Action::Idle)),
[INFO] [stdout]    |                                       ^^^^^^ `Action` is a variant, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Action` is a variant, not a module
[INFO] [stdout]   --> src/brain.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |                     Action::Idle => {
[INFO] [stdout]    |                     ^^^^^^ `Action` is a variant, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Action` is a variant, not a module
[INFO] [stdout]   --> src/brain.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     Action::Content => {
[INFO] [stdout]    |                     ^^^^^^ `Action` is a variant, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Action` is a variant, not a module
[INFO] [stdout]   --> src/brain.rs:80:21
[INFO] [stdout]    |
[INFO] [stdout] 80 |                     Action::PathTo { path_target } => {
[INFO] [stdout]    |                     ^^^^^^ `Action` is a variant, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Action` is a variant, not a module
[INFO] [stdout]   --> src/brain.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 93 |                     Action::EatFood => {
[INFO] [stdout]    |                     ^^^^^^ `Action` is a variant, not a module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ShaderSource` in `gfx`
[INFO] [stdout]   --> src/main.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |             ..gfx::ShaderSource::empty()
[INFO] [stdout]    |                    ^^^^^^^^^^^^ could not find `ShaderSource` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ShaderSource` in `gfx`
[INFO] [stdout]    --> src/main.rs:103:20
[INFO] [stdout]     |
[INFO] [stdout] 103 |             ..gfx::ShaderSource::empty()
[INFO] [stdout]     |                    ^^^^^^^^^^^^ could not find `ShaderSource` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tex` in `gfx`
[INFO] [stdout]    --> src/main.rs:113:56
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let sampler_info = gfx::tex::SamplerInfo::new(gfx::tex::FilterMethod::Scale,
[INFO] [stdout]     |                                                        ^^^ could not find `tex` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tex` in `gfx`
[INFO] [stdout]    --> src/main.rs:114:56
[INFO] [stdout]     |
[INFO] [stdout] 114 | ...                   gfx::tex::WrapMode::Clamp);
[INFO] [stdout]     |                            ^^^ could not find `tex` in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found variant `Action`
[INFO] [stdout]    --> src/brain.rs:25:45
[INFO] [stdout]     |
[INFO] [stdout] 25  |       pub fn new_state(brain: Brain) -> State<Action, ()> {
[INFO] [stdout]     |                                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 25  |     pub fn new_state(brain: Brain) -> State<Option, ()> {
[INFO] [stdout]     |                                             ^^^^^^
[INFO] [stdout] help: consider importing this enum instead
[INFO] [stdout]     |
[INFO] [stdout] 2   | use action::Action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ShaderSource` in crate `gfx`
[INFO] [stdout]   --> src/main.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let vertex = gfx::ShaderSource {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: a struct with a similar name exists: `ShaderResource`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gfx-0.18.2/src/pso/resource.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct ShaderResource<T>(RawShaderResource, PhantomData<T>);
[INFO] [stdout]    | ---------------------------------------------------------------- similarly named struct `ShaderResource` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ShaderSource` in crate `gfx`
[INFO] [stdout]    --> src/main.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let fragment = gfx::ShaderSource {
[INFO] [stdout]     |                             ^^^^^^^^^^^^ help: a struct with a similar name exists: `ShaderResource`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gfx-0.18.2/src/pso/resource.rs:29:1
[INFO] [stdout]     |
[INFO] [stdout] 29  | pub struct ShaderResource<T>(RawShaderResource, PhantomData<T>);
[INFO] [stdout]     | ---------------------------------------------------------------- similarly named struct `ShaderResource` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image`
[INFO] [stdout]    --> src/main.rs:109:44
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let image = image::load(cursor, image::PNG).unwrap();
[INFO] [stdout]     |                                            ^^^ not found in `image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `tex` in `gfx`
[INFO] [stdout]    --> src/main.rs:113:34
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let sampler_info = gfx::tex::SamplerInfo::new(gfx::tex::FilterMethod::Scale,
[INFO] [stdout]     |                                  ^^^^^^^^^^^ not found in `gfx::tex`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 44  | use gfx::texture::SamplerInfo;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Params` in this scope
[INFO] [stdout]    --> src/main.rs:136:24
[INFO] [stdout]     |
[INFO] [stdout] 136 |     let mut uniforms = Params {
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `DrawState` in `gfx`
[INFO] [stdout]    --> src/main.rs:142:22
[INFO] [stdout]     |
[INFO] [stdout] 142 |     let state = gfx::DrawState::new().depth(gfx::state::Comparison::LessEqual, true);
[INFO] [stdout]     |                      ^^^^^^^^^ not found in `gfx`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 44  | use piston_window::DrawState;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ClearData` in crate `gfx`
[INFO] [stdout]    --> src/main.rs:144:27
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let clear_data = gfx::ClearData { color: [0.0, 0.0, 0.0, 1.0], depth: 1.0, stencil: 0 };
[INFO] [stdout]     |                           ^^^^^^^^^ not found in `gfx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `loc::Loc`
[INFO] [stdout]   --> src/brain.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use loc::Loc;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `action::Action`
[INFO] [stdout]   --> src/brain.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use action::Action;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/brain.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         use rand;
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/main.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/brain.rs:68:30
[INFO] [stdout]    |
[INFO] [stdout] 68 | ...                   4...10 => Event::None,
[INFO] [stdout]    |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/render/scratch.rs:119:22
[INFO] [stdout]     |
[INFO] [stdout] 119 |             for x in (tl_loc.x..br_loc.x + 1) {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `borrow` found for struct `gfx_device_gl::Factory` in the current scope
[INFO] [stdout]    --> src/main.rs:92:42
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = window.factory.borrow().clone();
[INFO] [stdout]     |                                          ^^^^^^ method not found in `gfx_device_gl::Factory`
[INFO] [stdout]     |
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Box::new(window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^              ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Pin::new(window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^              ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Arc::new(window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^              ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Rc::new(window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^              ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Box::new(&mut window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^               ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Pin::new(&mut window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^               ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Arc::new(&mut window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^               ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Rc::new(&mut window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^^^^               ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Box::new(&window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^^              ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Pin::new(&window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^^              ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Arc::new(&window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^^              ^
[INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type
[INFO] [stdout]     |
[INFO] [stdout] 92  |     let ref mut factory = Rc::new(&window.factory).borrow().clone();
[INFO] [stdout]     |                           ^^^^^^^^^              ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `image::DynamicImage::to_rgba`: replaced by `to_rgba8`
[INFO] [stdout]    --> src/main.rs:112:25
[INFO] [stdout]     |
[INFO] [stdout] 112 |         factory, &image.to_rgba(), &texture_settings).unwrap().handle();
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `handle` found for struct `gfx_texture::Texture<_>` in the current scope
[INFO] [stdout]    --> src/main.rs:112:64
[INFO] [stdout]     |
[INFO] [stdout] 112 |         factory, &image.to_rgba(), &texture_settings).unwrap().handle();
[INFO] [stdout]     |                                                                ^^^^^^ method not found in `gfx_texture::Texture<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `draw_3d` found for enum `piston::Event` in the current scope
[INFO] [stdout]    --> src/main.rs:181:11
[INFO] [stdout]     |
[INFO] [stdout] 181 |         e.draw_3d(|stream| {
[INFO] [stdout]     |           ^^^^^^^ method not found in `piston::Event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments
[INFO] [stdout]    --> src/main.rs:232:11
[INFO] [stdout]     |
[INFO] [stdout] 232 |         e.mouse_cursor(|x, y| input.mouse_cursor(x, y));
[INFO] [stdout]     |           ^^^^^^^^^^^^ ------ takes 2 arguments
[INFO] [stdout]     |           |
[INFO] [stdout]     |           expected closure that takes 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments
[INFO] [stdout]    --> src/main.rs:233:11
[INFO] [stdout]     |
[INFO] [stdout] 233 |         e.mouse_scroll(|dx, dy| input.mouse_scroll(dx, dy));
[INFO] [stdout]     |           ^^^^^^^^^^^^ -------- takes 2 arguments
[INFO] [stdout]     |           |
[INFO] [stdout]     |           expected closure that takes 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments
[INFO] [stdout]    --> src/main.rs:234:11
[INFO] [stdout]     |
[INFO] [stdout] 234 |         e.mouse_relative(|dx, dy| input.mouse_relative(dx, dy));
[INFO] [stdout]     |           ^^^^^^^^^^^^^^ -------- takes 2 arguments
[INFO] [stdout]     |           |
[INFO] [stdout]     |           expected closure that takes 1 argument
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 42 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0422, E0425, E0432, E0433, E0573, E0593, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dood-rs`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "69a59d4c44f1cfcc83c4db60a00bd7e8e9b87c9e9bd4ec300cca18f9e06122b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69a59d4c44f1cfcc83c4db60a00bd7e8e9b87c9e9bd4ec300cca18f9e06122b0", kill_on_drop: false }`
[INFO] [stdout] 69a59d4c44f1cfcc83c4db60a00bd7e8e9b87c9e9bd4ec300cca18f9e06122b0
